<li class="todo">
    <?php echo CHtml::link(CHtml::encode($data->title), array('todo/meta', 'id' => $data->id), array('class' => 'more')); ?>
    <p><?php echo ($data->complete_date===null) ? CHtml::encode($data->title) : "<del>$data->title</del><em>(done)</em>"; ?></p>
</li>